package com.synjones.zeuscloudapp.eureka;

import com.synjones.zeus.model.ExReqBean;
import com.synjones.zeus.model.ExRespBean;
import com.synjones.zeus.model.authorize.AuthorizeReqBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import static com.synjones.zeus.model.ApiStr.AUTHORIZEDEVICE;


/**
 * @author Think
 * Description:
 * @date created in 11:06 2018-05-22
 * Modified by:
 */
@FeignClient("ZEUS-CLOUD-SERVER")
public interface ZeusAuthorizeService {
    /**
      *  授权设备
      *  @param reqBean request参数封装
      *  @author Think
      *  Description: 授权设备
      *  @date 11:06 2018-05-22
      *  @return ExRespBean<MealConnectTimeBean>
      */
    @RequestMapping(value = AUTHORIZEDEVICE)
    ExRespBean<String> authorizeDevice(ExReqBean<AuthorizeReqBean> reqBean);
}
